package BJava2月.AJava第一周.练习;

public class b人肉计算器 {
    public static void main(String[] args) {
    //在方法里面定义两个变量并求和打印
   getSum();
    }

    public static void getSum(){
        int num1 = 10;
        int num2 = 20;

        int result = num1 + num2;
        System.out.println(result);
    }
    }
